package cn.bugstack.types.design.framework.tree;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;

/**
 * 策略处理器
 * @author hsj
 * @date 2025/2/11 10:16
 */
public interface StrategyHandler<T,D,R>{



	StrategyHandler DEFAULT= (T,D) -> null;


	R apply(T requestParameter,D dynamicContext) throws ExecutionException, InterruptedException, TimeoutException;


}
